package com.edgarli.detail.service;

import java.util.List;
import com.edgarli.detail.domain.TExpenditure;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 家庭支出Service接口
 * 
 * @author ruoyi
 * @date 2023-02-24
 */
public interface ITExpenditureService  extends IService<TExpenditure>
{
    /**
     * 查询家庭支出
     * 
     * @param expenditureId 家庭支出主键
     * @return 家庭支出
     */
    public TExpenditure selectTExpenditureByExpenditureId(Long expenditureId);

    /**
     * 查询家庭支出列表
     * 
     * @param tExpenditure 家庭支出
     * @return 家庭支出集合
     */
    public List<TExpenditure> selectTExpenditureList(TExpenditure tExpenditure);


    /**
     * 批量删除家庭支出
     * 
     * @param expenditureIds 需要删除的家庭支出主键集合
     * @return 结果
     */
    public int deleteTExpenditureByExpenditureIds(Long[] expenditureIds);

    /**
     * 删除家庭支出信息
     * 
     * @param expenditureId 家庭支出主键
     * @return 结果
     */
    public int deleteTExpenditureByExpenditureId(Long expenditureId);
}
